package com.max.eshop.comporators;

import java.util.Comparator;
import com.max.eshop.core.Book;

public class SortedBooksByAlphabet implements Comparator<Book> {
	@Override
	public int compare(Book arg0, Book arg1) {
		return arg0.getName().compareTo(arg1.getName());
	}
}
